package com.team5101.dto;

import java.io.Serializable;
import java.math.BigDecimal;

public class PostbarDTO implements Serializable {
    Integer     pbId;               //帖子编号
    Integer     pbUid;              //发帖的用户id
    String      pbContext;          //帖子中的内容
    String      pbImageMain ;       //帖子中图片的路径(主)
    String      pbImgaeBak	;		//帖子中图片的路径(备)
    String      pbCreateTime;		//帖子生成时间
    Integer     pbSign		;	    //帖子类型
    BigDecimal  pbPrice;            //二手商品的的价格


    public Integer getPbId() {
        return pbId;
    }

    public void setPbId(Integer pbId) {
        this.pbId = pbId;
    }

    public Integer getPbUid() {
        return pbUid;
    }

    public void setPbUid(Integer pbUid) {
        this.pbUid = pbUid;
    }

    public String getPbContext() {
        return pbContext;
    }

    public void setPbContext(String pbContext) {
        this.pbContext = pbContext;
    }

    public String getPbImageMain() {
        return pbImageMain;
    }

    public void setPbImageMain(String pbImageMain) {
        this.pbImageMain = pbImageMain;
    }

    public String getPbImgaeBak() {
        return pbImgaeBak;
    }

    public void setPbImgaeBak(String pbImgaeBak) {
        this.pbImgaeBak = pbImgaeBak;
    }

    public String getPbCreateTime() {
        return pbCreateTime;
    }

    public void setPbCreateTime(String pbCreateTime) {
        this.pbCreateTime = pbCreateTime;
    }

    public Integer getPbSign() {
        return pbSign;
    }

    public void setPbSign(Integer pbSign) {
        this.pbSign = pbSign;
    }

    public BigDecimal getPbPrice() {
        return pbPrice;
    }

    public void setPbPrice(BigDecimal pbPrice) {
        this.pbPrice = pbPrice;
    }

    @Override
    public String toString() {
        return "PostbarDTO{" +
                "pbId=" + pbId +
                ", pbUid=" + pbUid +
                ", pbContext='" + pbContext + '\'' +
                ", pbImageMain='" + pbImageMain + '\'' +
                ", pbImgaeBak='" + pbImgaeBak + '\'' +
                ", pbCreateTime='" + pbCreateTime + '\'' +
                ", pbSign=" + pbSign +
                ", pbPrice=" + pbPrice +
                '}';
    }
}
